<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新闻发布首页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }

        header {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .news-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: white;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 10px;
            position: fixed;
            bottom: 0;
            width: 100%;
        }

        a {
            color: #007BFF;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }
    </style>
</head>

<body>
<header>
    <h1>新闻发布平台</h1>
</header>
<div class="news-container">
    <!-- 这里可以动态添加新闻内容，暂时使用静态示例 -->
    <h2>大家好</h2>
    <p>欢迎您，访问!!</p>
</div>
<footer>
    <p>学生姓名：张三 | 学号：2023001 | 班级：计科1班</p>
    <p><a href="./jsp/homePage.jsp">系统后台</a></p>
</footer>
</body>

</html>

